/**
 * 
 */
package ase.assignment.sts.beans;

import java.io.Serializable;
/**
 * @author Lionel
 * 
 */
public class StockAssertEntity implements Serializable{
	private int id;
	private String name;
	private int portfolio;
	private int amount;
	private double initPrice;

	public StockAssertEntity(int id) {
		this.id = id;
	}

	/**
	 * @return the id
	 */
	public int getId() {
		return id;
	}

	/**
	 * @param name
	 *            the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param portfolio
	 *            the portfolio to set
	 */
	public void setPortfolio(int portfolio) {
		this.portfolio = portfolio;
	}

	/**
	 * @return the portfolio
	 */
	public int getPortfolio() {
		return portfolio;
	}

	/**
	 * @param amount
	 *            the amount to set
	 */
	public void setAmount(int amount) {
		this.amount = amount;
	}

	/**
	 * @return the amount
	 */
	public int getAmount() {
		return amount;
	}

	/**
	 * @param initPrice
	 *            the initPrice to set
	 */
	public void setInitPrice(double initPrice) {
		this.initPrice = initPrice;
	}

	/**
	 * @return the initPrice
	 */
	public double getInitPrice() {
		return initPrice;
	}

}
